package cn.iocoder.yudao.module.erp.controller.admin.stock.vo.stock;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Schema(description = "管理后台 - ERP 其它出库单新增/修改 Request VO")
@Data
public class ErpStockUpdateReqVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "11756")
    @NotNull(message = "编号不能为空")
    private Long id;

    @Schema(description = "预警最大库存数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "4307")
    @ExcelProperty("预警最大库存数量")
    private BigDecimal maxCount;

    @Schema(description = "预警最小库存数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "4307")
    @ExcelProperty("预警最小库存数量")
    private BigDecimal minCount;

}
